
ac.skill('血缘诅咒'){
    temp = '攻击触发',
    odds = 15,
    model1 = [[xyzz.mdl]],
    on_run = function(self,hero,target)
        local point = target:get_point()
        local damage = self:dmg_get()
        point:effect{
            model = self.model1,
            time = 0.5,
            size = 0.6,
        }
        ac.wait(100,function()
            local list = hero:aoe_damage(point,400,damage,self)
            for _,unit in ipairs(list) do
                if unit:is_alive()==false then
                    local point1 = unit:get_point()
                    point1:launch_missile(hero,[[hero_tsw_8.mdl]],900,0.15,function()
                        hero:add('生命',hero:get('生命上限')*0.01)
                    end)
                end
            end
        end)
    end,
}